/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package daa3.pkg2013;

import java.util.*;

public class HuffmanExe
{
    static Huffman huffman;
    private static Scanner input = new Scanner(System.in);
    private static String value;
    public static void main(String args[])
	{
		System.out.print("Enter String: ");
                value = input.nextLine();
                System.out.println("This is the value you entered: "+value);
                huffman = new Huffman(value);
                System.out.println("The bit representation of the String you entered is: "+Huffman.hC.getBitPattern());  
	}
}